dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7d8aeb
)
API: (bug 16581) Fix regression from r44015 ("Various minor cleanup") which changed...
author
Roan Kattouw
<catrope@users.mediawiki.org>
Wed, 10 Dec 2008 14:12:54 +0000
(14:12 +0000)
committer
Roan Kattouw
<catrope@users.mediawiki.org>
Wed, 10 Dec 2008 14:12:54 +0000
(14:12 +0000)
includes/api/ApiEditPage.php
patch
|
blob
|
history
diff --git
a/includes/api/ApiEditPage.php
b/includes/api/ApiEditPage.php
index
acd6579
..
c69d506
100644
(file)
--- a/
includes/api/ApiEditPage.php
+++ b/
includes/api/ApiEditPage.php
@@
-116,6
+116,8
@@
class ApiEditPage extends ApiBase {
$this->dieUsage("The section parameter must be set to an integer or 'new'", "invalidsection");
$reqArr['wpSection'] = $params['section'];
}
+ else
+ $reqArr['wpSection'] = '';
if($params['watch'])
$watch = true;